package com.sl.static_proxy;

/**
 * author： suliang
 * 2023/1/4 15:02
 * describe : 被代理类，实现代理的具体功能，相当于功能类
 */
public class RealSubject implements Subject{

    @Override
    public void say(String word) {
        System.out.println("RealSubject say: " + word);
    }

    @Override
    public void sayGoodBye() {
        System.out.println("RealSubject say GoodBye！");
    }

}
